<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="java.io.File" %>
<%@ page import="org.windey.server.database.*" %>
<%@ page import="java.util.*" %>
<%@ page import="org.windey.server.web.*" %>
<%@page import="org.windey.server.servlets.PersistencyListener"%><html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Refresh  
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20091220

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Refresh   by Free CSS Templates</title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
	<div id="header">
		<div id="logo">
			<h1><a href="#">Windey Remote Control </a></h1>
			<p> design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
		</div>
		<%
		String current = request.getServletPath();
		current = current.substring(1);
		Menu menu = new Menu(current);
		out.println(menu.generate());
		%>
		<!-- end #menu -->
	</div>
	<!-- end #header -->
	<div id="page">
		<div id="page-bgtop">
			<div id="page-bgbtm">
				<div id="content">
					<form method="post" action="processregister.jsp">
						<table>
							<tr>
								<td>Email: </td><td><input name="email" type="text" /></td>
							</tr>
							<tr>
								<td>Password: </td><td><input name="pass" type="password" /></td>
							</tr>
							<tr>
								<td><input type="submit" name="register" value="Register" /></td>
							</tr>
						</table>
					</form>
					<div style="clear: both;">&nbsp;</div>
				</div>
				<!-- end #content -->
				<% 
				Sidebar sidebar = new Sidebar(((User)session.getAttribute("user")));
				out.println(sidebar.generate());
				%>
				<!-- end #sidebar -->
				<div style="clear: both;">&nbsp;</div>
			</div>
			
		</div>
	</div>
	<!-- end #page -->
</div>
<div id="footer-wrapper">
	<div id="footer">
		<p>WindeyRemoteDesktop</p>
	</div>
</div>
</body>
</html>
